package com.qingcloud.api.dcengine.service.fallback;

import com.qingcloud.api.dcengine.dto.TablePageDTO;
import com.qingcloud.api.dcengine.dto.air.CommonAirData;
import com.qingcloud.api.dcengine.model.air.AirDataListParam;
import com.qingcloud.api.dcengine.model.air.AirDataPageParam;
import com.qingcloud.api.dcengine.service.AirDataApi;
import org.springframework.stereotype.Component;

import java.util.Collections;
import java.util.List;

/**
 * @author jianqiang.cao
 * @version 1.0
 * @desc
 * @date 2020/6/10 9:56
 */
@Component
public class AirDataApiFallback implements AirDataApi {

    public List<CommonAirData> hourList(AirDataListParam listParam) {
        return Collections.emptyList();
    }

    public TablePageDTO<CommonAirData> hourPage(AirDataPageParam pageParam) {
        return new TablePageDTO<CommonAirData>();
    }

    public List<CommonAirData> dayList(AirDataListParam listParam) {
        return Collections.emptyList();
    }

    public TablePageDTO<CommonAirData> dayPage(AirDataPageParam pageParam) {
        return new TablePageDTO<CommonAirData>();
    }

    public List<CommonAirData> monthList(AirDataListParam listParam) {
        return Collections.emptyList();
    }

    public TablePageDTO<CommonAirData> monthPage(AirDataPageParam pageParam) {
        return new TablePageDTO<CommonAirData>();
    }

    public List<CommonAirData> airForecast(Integer domainId, Integer days) {
        return Collections.emptyList();
    }
}
